derive GtkObject from GUnowned, so it initially has a floating reference
authorTim Janik <timj@imendio.com>
Thu, 22 Dec 2005 15:10:05 +0000 (15:10 +0000)
committerTim Janik <timj@src.gnome.org>
Thu, 22 Dec 2005 15:10:05 +0000 (15:10 +0000)
commit75e6b53a78140092a500dac9c71e438111f1cc9b
treee1ae9e8976edf902c69f26923243b28d46589f5b
parentfe0fb8966d0bdb58e1cd5fe41082922c433be3ca
derive GtkObject from GUnowned, so it initially has a floating reference

Thu Dec 22 16:01:27 2005  Tim Janik  <timj@imendio.com>

        * gtk/gtkobject.c: derive GtkObject from GUnowned,
        so it initially has a floating reference count.
        gtk_object_class_init(): installa floating flag handler with
        libgobject, so for GtkObjects the flag is stored as GTK_FLOATING
        in the ->flags member.

        * tests/floatingtest.c: test floating flag uses.
ChangeLog
ChangeLog.pre-2-10
gtk/gtkobject.c
gtk/gtkobject.h
tests/Makefile.am
tests/floatingtest.c [new file with mode: 0644]